package com.matt.repository.courseV2;

import com.matt.domain.courseV2.Ability;
import com.matt.domain.courseV2.DevelopReview;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DevelopReviewRepository extends JpaRepository<DevelopReview, String>, JpaSpecificationExecutor<DevelopReview> {

    List<DevelopReview> findByMonthOrderByOrderNumAsc(Integer month);

    List<DevelopReview> findByTypeOrderByOrderNumAsc(Integer type);

    List<DevelopReview>  findByOrderByOrderNumAsc();
}